Programming Reference Manual
 
Syntax
 
FileCopy FromName$, ToName$
 
Description
Copy a file.
 
Parameter
Description
FromName$
This string value is the path and name of the source file. A path relative to the current directory can be used. 
ToName$
This string value is the path and name of the destination file. A path relative to the current directory can be used. 
See Also
 
Example
 
Sub Main
    FileCopy "C:\AUTOEXEC.BAT","C:\AUTOEXEC.BAK"
End Sub