if the src file and target file are the same, do nothing