IO::CopyFile
- IO::CopyFile(sourceFileName, destinationFileName): bool
-
Makes a copy of source file or folder to destination file or folder and returns
TRUEif action was successful.Table 1. Parameters sourceFileName
String
Source file/folder name
destinationFileName
String
Destination file/folder name
ReturnTRUEif copy was successful andFALSEif not.IO::CopyFile("/tmp/source", "/tmp/destination") // Will copy "/tmp/source" file content to "/tmp/destination" file.