/** * Create a copy of the file * * @param string $from The full path of the file to copy from * @param string $to The full path of the file that will hold the copy * * @return boolean True on success */ public function copy($from, $to) { $ret = $this->fileAdapter->copy($from, $to); if (!$ret && is_object($this->abstractionAdapter)) { return $this->abstractionAdapter->copy($from, $to); } return $ret; }