src/FileUtil.php
public static function copy($source, $des)
    {
        if (!is_file($source)) {
            return false;
        }
        try {
            @copy($source, $des);
            return true;
        } catch (\Exception $e) {
            return false;
        }
    }
public static function copy($source, $des)
    {
        if (!is_file($source)) {
            return false;
        }
        try {
            @copy($source, $des);
            return true;
        } catch (\Exception $e) {
            return false;
        }
    }
public static function copy ( $ source , $ des ) { if ( ! is_file ( $ source ) ) { return false ; } try { @ copy ( $ source , $ des ) ; return true ; } catch ( \ Exception $ e ) { return false ; } }
copy the file.

@param $source
@param $des
@return bool
copy the file .