in reply to File Copy

I actually think you should follow the advice from demerphq above and use File::Copy. Nonetheless, the direct answer to your question about why your code is failing is that Win32API::File doesn't have a routine called copy -- I think the one you're after is CopyFile.

HTH