Handle copying a single file properly