Example: CopyFile("\\\\A\\shared_folder\\example.txt", "\\\\B\\shared_folder\\example.txt", FALSE);
where A and B are the computer names and "shared_folder" is the name of the shared folder on the two computers.
Obviously, you must have read permissions on "\\A\shared_folder" and write permissions on "\\B\shared_folder".