Here is the bare minimum required to use the CopyFilePB command in KiXGUI:

;Create KixGUI Desktop
$root=createobject("KiXGUI.Desktop")

;Create an Object for the CopyFilePB command
$frmCopy=$root.createform("frmCopy","Object for CopyFilePB")

;Copies all files from current script directory to a folder named "Test" in your Windows temp folder. First option after destination is "Silent Mode" - "0" = Show dialog box. Second option is "Replace All" - "1" = Answer "Yes to all" automatically.
$frmCopy.CopyFilePB("@SCRIPTDIR\*.*","%WINDIR%\Temp\Test",0,1)