FileCopy The function copies the original file from a local or shared folder to another file. bool FileCopy( const string src_file_name, // Name of a source file int common_flag, // Location const string dst_file_name, // Name of the destination file int mode_flags // Access mode );