elFinder\elFinderVolumeLocalFileSystem::_copy PHP Method

_copy() protected method

Copy file into another file
Author: Dmitry (dio) Levashov
protected _copy ( string $source, string $targetDir, string $name ) : boolean
$source string source file path
$targetDir string target directory path
$name string new file name
return boolean
    protected function _copy($source, $targetDir, $name)
    {
        return copy($source, $targetDir . DIRECTORY_SEPARATOR . $name);
    }