synopsis:
struct sdds::CopyOptions {
sdds::ReadRequest read;
sdds::WriterOptions writer;
std::function<sdds::Layout(const sdds::Layout &)> transformLayout;
std::function<std::optional<sdds::Page>(
sdds::Page &&, std::shared_ptr<const sdds::Layout>)> transformPage;
};
void sdds::copyDataset(sdds::Reader &reader,
const std::filesystem::path &output,
sdds::CopyOptions options = {});