Copy File Icon Copy File

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 Action

Arguments:

 

ArgumentDescription
FilenameThe name (as a string) of the file to copy
Copy ToThe name (as a string) of the file to be created as a copy

 

Example:

Copy File ExampleThe 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.