code: public function copyTo(Storage $destination, ?int $constraints = null): self
      {
          if (!$this->copyFileTo($destination, $constraints)) {
              throw new AccessDeniedException('unable to copy file', 403);
          }
  
          return new static($destination);
      }
docs: copy file-content to new destination
  @param Storage $destination
  @param int|null $constraints
  @return self new File-object
  @throws AccessDeniedException|FileNotFoundException