FOF30\Platform\Joomla\Filesystem::fileCopy PHP Method

fileCopy() public method

Copies a file
public fileCopy ( string $src, string $dest, string $path = null, boolean $use_streams = false ) : boolean
$src string The path to the source file
$dest string The path to the destination file
$path string An optional base path to prefix to the file names
$use_streams boolean True to use streams
return boolean True on success
    public function fileCopy($src, $dest, $path = null, $use_streams = false)
    {
        return \JFile::copy($src, $dest, $path, $use_streams);
    }