Only try and copy a file if there is a file to copy