Esto es una llamada API.
Con esto bien usado a correr.
Declare Function CopyFile Lib "kernel32" Alias "CopyFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
Los parametros. En ingles !
Vale si no te aclaras me madas un msg.
· lpExistingFileName
Points to a null-terminated string that specifies the name of an existing file.
· lpNewFileName
Points to a null-terminated string that specifies the name of the new file.
· bFailIfExists
Specifies how this operation is to proceed if a file of the same name as that specified by lpNewFileName already exists. If this parameter is TRUE and the new file already exists, the function fails. If this parameter is FALSE and the new file already exists, the function overwrites the existing file and succeeds.
Ala con 2.