code: def copy(self):
          
          copy = self._queue.copy()
  
          result = list()
          while not copy.empty():
              result.append(copy.get_nowait())
          return result
docs: Copies the current queue items.