check whether source file exists before try to copy it