Exemple #1
0
 /**
  * Copy a file to a new location.
  *
  * @param  string $from
  * @param  string $to
  *
  * @return bool
  */
 public function copy($from, $to)
 {
     $from = $this->getPathPrefix($from);
     $to = $this->getPathPrefix($to);
     return $this->drive->copy($from, $to);
 }