a simple copy program to copy one file to another