code: def copy_info(self, other, ignore=None):
          
          logging.info("Copying info")
          # copy non-samples/stats data
          if ignore is None:
              ignore = []
          if isinstance(ignore, (str, unicode)):
              ignore = [ignore]
          ignore = set(ignore + [self.samples_group])
          copy_groups = set(self.keys()) - ignore
          for key in copy_groups:
              super(BaseInferenceFile, self).copy(key, other)
docs: Copies "info" from this file to the other.
  
          "Info" is defined all groups that are not the samples group.
  
          Parameters
          ----------
          other : output file
              The output file. Must be an hdf file.
          ignore : (list of) str
              Don't copy the given groups.