PyIFileOperation.CopyItem

CopyItem(Item, DestinationFolder, CopyName, Sink)

Adds a copy operation to the configuration

Parameters

Item : PyIShellItem

Item to be copied

DestinationFolder : PyIShellItem

Folder into which it will be copied

CopyName=None : str

New name for the copied file, use None to keep original name

Sink=None : PyGFileOperationProgressSink

Progress sink for just this operation