code: def _copy_labels(labels):
      if labels is None:
          return None
  
      field = labels._LABEL_LIST_FIELD
      _labels = labels.copy()
  
      # We need the IDs to stay the same
      for _label, label in zip(_labels[field], labels[field]):
          _label.id = label.id
  
      return _labels
  
imports: import logging
  from collections import defaultdict
  import numpy
  import eta.core.utils
  import fiftyone.core.plots
  import fiftyone.utils.iou
  from .detection import DetectionEvaluation, DetectionEvaluationConfig, DetectionResults
label_desc: Use image node_id 6 for calling a global function with example usage: _copy_labels(labels) and returns: _labels, None