plcNew.setAttribute("frameColor" , plcOld.getAttribute("frameColor"));
plcNew.setAttribute("type" , plcOld.getAttribute("type"));
plcNew.setAttribute("CFRModifier" , rNew.getModifier().getName());
for (int i=0 ; i<plcOld.pointCount() ; i++) {
plcNew.addPoint(plcOld.pointAt(i).x , plcOld.pointAt(i).y);
}
plcNew.startPoint(plfNew.getConnectors()[0].getDisplayBox().x , plfNew.getConnectors()[0].getDisplayBox().y);
plcNew.connectStart(plfNew.getConnectors()[0]);
plcNew.endPoint(figureSource.getConnectors()[4].getDisplayBox().x , figureSource.getConnectors()[4].getDisplayBox().y);
plcNew.connectEnd(figureSource.getConnectors()[4]);