Copies an operating system file to another operating system file.
Note: This is a Windows only function.
The COPYFILE service has the following parameters.
|srcfile||Specifies an operating system file or list of files. The file name includes the operating system drive and path.|
|destfile||Specifies the name of the destination table.|
|result||A boolean value. If true then the copy was successful otherwise an error occurred.|
If destfile exists and overwriteflag = 1, the file is copied and result = 1. The nonzero result does not indicate an error, but rather that destfile was overwritten.