introduce and use cmSystemTools::MoveFileIfDifferent()
This is the combination of CopyFileIfDifferent() + RemoveFile(), just more efficient and atomic.
This is the combination of CopyFileIfDifferent() + RemoveFile(), just more efficient and atomic.