src/Stream/FileStream.php
public function move($toFile)
    {
        if ($this->error == UPLOAD_ERR_OK) {
            return move_uploaded_file($this->tmpName, $toFile);
        } else {
            return false;
        }
    }
public function move($toFile)
    {
        if ($this->error == UPLOAD_ERR_OK) {
            return move_uploaded_file($this->tmpName, $toFile);
        } else {
            return false;
        }
    }
public function move ( $ toFile ) { if ( $ this -> error == UPLOAD_ERR_OK ) { return move_uploaded_file ( $ this -> tmpName , $ toFile ) ; } else { return false ; } }
Moves the uploaded file to a new location

@param string $toFile
@return boolean
Moves the uploaded file to a new location