The CopyFS function copies an io/fs.FS into the local filesystem.