Better error handling for missing source file in copy().