code: public static void cloneAll(Collection<BugInstance> dest, Collection<BugInstance> source) {
          for (BugInstance obj : source) {
              dest.add((BugInstance) obj.clone());
          }
      }
docs: Clone all of the BugInstance objects in the source Collection and add
  them to the destination Collection.
  
  @param dest
  the destination Collection
  @param source
  the source Collection