CSKernelFile.cFile.copyFile C# (CSharp) Method

copyFile() public static method

public static copyFile ( string fullFileNameSource, string fullFileNameDestination ) : bool
fullFileNameSource string
fullFileNameDestination string
return bool
        public static bool copyFile(string fullFileNameSource, string fullFileNameDestination)
        {
            try
            {
                File.Copy(fullFileNameSource, fullFileNameDestination);
                return true;
            }
            catch (Exception ex)
            {
                cError.mngError(ex, "copyFile", c_module, "failed copying [" + fullFileNameSource + "] to [" + fullFileNameDestination + "]");
                return false;
            }
        }