diff --git a/FileUtils.cpp b/FileUtils.cpp index 71257db0..f377b834 100644 --- a/FileUtils.cpp +++ b/FileUtils.cpp @@ -176,7 +176,7 @@ bool CFile::Copy(const CString& sOldFileName, const CString& sNewFileName, bool char szBuf[8192]; unsigned int len = 0; - while ((len = OldFile.Read(szBuf, 100))) { + while ((len = OldFile.Read(szBuf, 8192))) { NewFile.Write(szBuf, len); }