code: def _copy(self):
          
  
          items = self.items()
          subs = {}
          for f in (self.getall("CHAP") + self.getall("CTOC")):
              subs[f.HashKey] = f.sub_frames._copy()
          return (items, subs)
docs: Creates a shallow copy of all tags