protected void copyTo(CatNodeSection newSection, boolean forShow){
    newSection.isTemplate=isTemplate;
    newSection.objFormatter=objFormatter;
    if (newSection.isTemplate)
      newSection.isVisible=true;
    if (childNodes!=null)
      for (int i=0; i<childNodes.size(); i++){
        CatNode original=(CatNode)childNodes.get(i);
        original=original.cloneSelf(forShow);
        newSection.add(original);
      }
  }