|
Navigation: TLuaFile > CopyFile |
![]() ![]()
|
int CopyFile(string sSource,string sDest)
Return values
Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.
Parameters
sSource
Path and name of the file to be copied.
sDest
New path and name of the new file.
Remarks
Function copies a file. Directories can not be copied with this function.