Refine copy file with and without checksum