set an error message when the copy failed