code: def overwrite(self, mesh):
          
          self.DeepCopy(mesh)
          if is_vtki_obj(mesh):
              self.copy_meta_from(mesh)
docs: Overwrites this mesh inplace with the new mesh's geometries and data
  
          Parameters
          ----------
          mesh : vtk.vtkDataSet
              The overwriting mesh.