200
206
bool CFile::Move(const CString& sOldFileName, const CString& sNewFileName, bool bOverwrite) {
220
result &&= Delete(sTempFile); // ok, renamed the file successfully, it's safe to remove backup of old file now
206
225
return (rename(sOldFileName.c_str(), sNewFileName.c_str()) == 0);