This morning I prepared a web page containing a Perl script that provides more functionality for file copying than the current (quite limited) DOS utility that is bundled with Windows operating systems. Though there are many file-copy utilities available, this one is quite simple, and you can tweak the code to best suit your own purposes.
This script transfers files from one subdirectory to another. When it copies a file from a source subdirectory to a destination subdirectory, it deletes the file on the source subdirectory. It prompts the user for the pathname of the source and destination subdirectories, and it permits the user to enter a Regex expression describing the file types that should be transferred. If you bypass the prompt asking for a Regex expression, it will transfer all types of files.
http://www.julesberman.info/book/dirtrade.htm
-Jules Berman