added a CopyFile() method to P4Shell