use ShellApi;

copyfile(pchar('newfile.txt',pchar('//computername/direction/target.txt'),false);