Documentation

Copy

bool
CBXVirtualIo::Copy(
 string $source,
 string $target [,
 bool $bRewrite = true]
);

The method copies file or folder. Additional parameter specifies if existing files must be re-written. Accepts absolute path on input. Non-static method.

Parameters

Parameter Description
source Source path.
target Target folder path.
bRewrite Specifies to rewrite a file. Default value is true.


© «Bitrix24», 2001-2024
Up