@typecheck_method(child=TableIR)
def copy(self, child):
    new_instance = self.__class__
    return new_instance(child, self.path, self.types_file, self.header, self.export_type)
@typecheck_method(child=TableIR)
def copy(self, child):
    new_instance = self.__class__
    return new_instance(child, self.path, self.types_file, self.header, self.export_type)