try to copy a file