public function move($path, $override = false)
	{
		if (!$this->exists()) {
			return false;
		}

		$file = new File($path);

		if (($file->exists() && !$override) || !rename($this->path, $file->getPath())) {
			return false;
		}

		$this->path = $file->getPath();

		return true;
	}
public function move($path, $override = false)
	{
		if (!$this->exists()) {
			return false;
		}

		$file = new File($path);

		if (($file->exists() && !$override) || !rename($this->path, $file->getPath())) {
			return false;
		}

		$this->path = $file->getPath();

		return true;
	}
public function move ( $ path , $ override = false ) { if ( ! $ this -> exists ( ) ) { return false ; } $ file = new File ( $ path ) ; if ( ( $ file -> exists ( ) && ! $ override ) || ! rename ( $ this -> path , $ file -> getPath ( ) ) ) { return false ; } $ this -> path = $ file -> getPath ( ) ; return true ; }
Returns true if the file is succesfully moved.

@param string $path
@param bool $override = false
@return bool true if the file is succesfully moved.
Returns true if the file is succesfully moved .