Test to copy file