CopyFile()

Syntax

Result = CopyFile(SourceFileName$, DestinationFileName$)
Description
Copy the source file to the destination. Warning, if the file already exists, it will be erased automatically. If the Result is 0, the file can't be copied.

Supported OS

All

<- CopyDirectory() - FileSystem Index - CreateDirectory() ->