CopyFile

    CopyFile - File복사

    CopyFile함수는 인수로 지정한 File을 복사하는 함수입니다. Declare Function CopyFile Lib "kernel32" Alias "CopyFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Boolean) As Integer ▶VB.NET 선언 [DllImport("kernel32")] public static extern int CopyFile(string lpExistingFileName, string lpNewFileName, bool bFailExists); ▶C# 선언 CopyFile함수의 첫번째 인수는 복사할 File의 위치및 이름을, 두번째 인수에..