Copy File


Description

With this action you can copy any file that has been saved by your game or has been bundled as part of the Included Files. You give the name of the file to copy (as a string) and then the name of the file to create as a copy of the original file (also as a string and including the file extension). The given file will be duplicated and given the new name.


Action Syntax:

Copy File Syntax


Arguments:

Argument Description
Filename The name (as a string) of the file to copy
Copy To The name (as a string) of the file to be created as a copy


Example:

Copy File Example
The above action block code will check to see if an ini file does not exists and if it does not then it is created by copying another file.