Syntax
<dllobject>$cs.File_CopyFile(string source, string destination, bool overwrite = true)
Parameters
source
source file
destination
...
overwrite
overwrite existing file
Example
Code Block | ||
---|---|---|
| ||
$cs.File_CopyFile("C:\Program Files\CapaInstaller\dummy.exe","C:\Windows\dummy2.exe") |
...