public LogicTreeNode duplicateNodeKeepIds(LogicTreeNode copiedNode)
 {
     LogicTreeNode copy = new LogicTreeNode();
     copy = copiedNode.DuplicateContentNode();
     foreach (LogicTreeNode node in copiedNode.subNodes)
     {
         copy.subNodes.Add(duplicateNodeKeepIds(node));
     }
     return copy;
 }
 public LogicTreeNode duplicateNode(LogicTreeNode copiedNode)
 {
     lt.NextIdNum++;
     prntForm.logText("NextIdNum = " + lt.NextIdNum.ToString());
     LogicTreeNode copy = new LogicTreeNode();
     copy = copiedNode.DuplicateContentNode(lt.NextIdNum);
     //copy.conversationText = copiedNode.conversationText;
     copy.idNum = lt.NextIdNum;
     foreach (LogicTreeNode node in copiedNode.subNodes)
     {
         copy.subNodes.Add(duplicateNode(node));
     }
     return copy;
 }