Help > REFERENCE OF THE BUILT-IN FUNCTIONS > Files and File Storage Devices > copy


integer= copy (text_file, text_path);

Copy file from the current file storage device to a new place specified in the ‘path’ parameter. The parameter may include a drive and directory. File name must be included in the path regardless of whether it is the same or different.

Return 0 if successful, or a negative value result, otherwise.