BitrixAQA.General.Shared.CopyFile C# (CSharp) Method

CopyFile() public static method

Процедура копирует файл, заменяя его
public static CopyFile ( string source, string destination ) : void
source string Путь к источнику
destination string Путь для копирования
return void
        public static void CopyFile(string source, string destination)
        {
            if (File.Exists(destination))
                File.Delete(destination);
            File.Copy(source, destination, true);
        }