public static function copyPackage($package_file, $tmp)
    {
        $package_file = realpath($package_file);

        if (file_exists($package_file)) {
            $filename = basename($package_file);
            Folder::create($tmp);
            copy(realpath($package_file), $tmp . DS . $filename);
            return $tmp . DS . $filename;
        }

        return null;
    }
public static function copyPackage($package_file, $tmp)
    {
        $package_file = realpath($package_file);

        if (file_exists($package_file)) {
            $filename = basename($package_file);
            Folder::create($tmp);
            copy(realpath($package_file), $tmp . DS . $filename);
            return $tmp . DS . $filename;
        }

        return null;
    }
public static function copyPackage ( $ package_file , $ tmp ) { $ package_file = realpath ( $ package_file ) ; if ( file_exists ( $ package_file ) ) { $ filename = basename ( $ package_file ) ; Folder :: create ( $ tmp ) ; copy ( realpath ( $ package_file ) , $ tmp . DS . $ filename ) ; return $ tmp . DS . $ filename ; } return null ; }
Copy the local zip package to tmp

@param string $package_file
@param string $tmp
@return null|string
Copy the local zip package to tmp