public function copyTo(string $fullPath) : IFile
    {
        if ($this->copyCallback) {
            return call_user_func($this->copyCallback, $fullPath);
        }

        return $this->file;
    }
public function copyTo(string $fullPath) : IFile
    {
        if ($this->copyCallback) {
            return call_user_func($this->copyCallback, $fullPath);
        }

        return $this->file;
    }
public function copyTo ( string $ fullPath ) : IFile { if ( $ this -> copyCallback ) { return call_user_func ( $ this -> copyCallback , $ fullPath ) ; } return $ this -> file ; }
Copies the file to the supplied path

@param string $fullPath The file path including the file name

@return IFile
Copies the file to the supplied path