code: func CopyTo(content io.Reader, srcInfo CopyInfo, dstPath string) error {
  	// The destination path need not exist, but CopyInfoDestinationPath will
  	// ensure that at least the parent directory exists.
  	dstInfo, err := CopyInfoDestinationPath(normalizePath(dstPath))
  	if err != nil {
  		return err
  	}
  
  	dstDir, copyArchive, err := PrepareArchiveCopy(content, srcInfo, dstInfo)
  	if err != nil {
  		return err
  	}
  	defer copyArchive.Close()
  
  	options := &TarOptions{
  		NoLchown:             true,
  		NoOverwriteDirNonDir: true,
  	}
  
  	return Untar(copyArchive, dstDir, options)
  }
docs: // CopyTo handles extracting the given content whose
  // entries should be sourced from srcInfo to dstPath.