TwistPHP Documentation

copy

File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

copyBasic alias function of PHP's copy, copy a file on the local server

Parameters

Name Type Description
$strSourcePathstringn/a
$strDestinationPathstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strSourcePath 'foo';
$strDestinationPath 'foo';

//Call the function copy with the example vars
Twist::File() -> copy($strSourcePath$strDestinationPath);