src/classes/CCFile.php
public static function upload( $key, $path ) 
	{

		if ( $file = static::upload_path( $key ) ) {
			return move_uploaded_file( $file, $path );
		}

		return false;
	}
public static function upload( $key, $path ) 
	{

		if ( $file = static::upload_path( $key ) ) {
			return move_uploaded_file( $file, $path );
		}

		return false;
	}
public static function upload ( $ key , $ path ) { if ( $ file = static :: upload_path ( $ key ) ) { return move_uploaded_file ( $ file , $ path ) ; } return false ; }
Move user uploads to another dir

@param string	$key
@param string 	$path
@return bool
Move user uploads to another dir