CopyFile | 
    Top Previous Next | 
| 
 Prototype 
 CopyFile (strFileSource,strFileDest) 
 Description 
 Makes a copy of the source file (FileSource) in the destination one (FileDest). 
 Parameters 
 StrFileSource: string corresponding to the path and name of the source file (to be copied). 
 StrFileDest: string corresponding to the path and name of the destination file. 
 Returned value 
 None. 
 Notes 
 If the destination file directory doesn't exist, it will be created automatically. 
 // Copy a file CopyFile('c:\source.dat','d:\newdirectory\dest.dat'); 
  |