}
systemTenantRegistry.delete(targetPath);
}
// get a dump of source
Writer writer = new StringWriter();
systemZeroRegistry.dump(sourcePath, writer);
// put the dump to the target
Reader reader = new StringReader(writer.toString());
systemTenantRegistry.restore(targetPath, reader);