General Introduction
Features
Settings
Email system
Date and Time
URL rewrite
Special constants
Special variables
Complex logic in filter
CombinePath
Copy
CreateDirectory
Delete
DirectoryExists
ExtractNameFromPath
ExtractPathFromPath
FileExists
GetDirectory
GetFile
Move
RelativeToAbsolutePath
SiteRelativeToAbsolutePath
ValidateFalenameString
ValidatePathString
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