def copy(self, dest):
dest = pathlib.Path(dest)<EOL>for table in self.tables:<EOL><INDENT>shutil.copy(str(table.url.resolve(self.base)), str(table.url.resolve(dest)))<EOL><DEDENT>self._fname = dest / self._fname.name<EOL>self.to_file(self._fname)<EOL>
Write a TableGroup's data and metadata to files relative to `dest`, adapting the `base`
attribute.

:param dest:
:return: