FileCopy(SourceFile,DestFile)

Copies a file.

Parameters:

SourceFile The name of the file that should be copied
DestFile The name where source should be copied to

Remarks:

If Source does not exist, DestFile exists or any other error occurs, an error is raised.

Example:

Call FileCopy("C:\MSDOS.SYS","C:\MSDOS.BAK")