public static function move($from, $to)
    {
        return self::copy($from, $to) && self::delete($from);
    }
public static function move($from, $to)
    {
        return self::copy($from, $to) && self::delete($from);
    }
public static function move ( $ from , $ to ) { return self :: copy ( $ from , $ to ) && self :: delete ( $ from ) ; }
Moves a directory

@param string $file Target directory
@param string $to Target destination path
@return boolean
Moves a directory