theRecordCopy.updateFields();
public Flexible copyToGroup(java.lang.String group) {	String newName;	if (group.equals(nullString))		newName = Group.substractObjectName(recordData.getName());	else		newName = group+Constants.GROUP_SEPARATOR+				  Group.substractObjectName(recordData.getName());	// object with new name already exists, add suffix ///!!!	//Object obj;	while (Group.getRoot().findObject(newName, true)!=null)//		newName += Constants.COPY_SUFFIX;			newName = StringUtils.incrementName(newName, Constants.COPY_SUFFIX);	//ViewState view = ViewState.getInstance();	VDBRecordData theDataCopy = VDBData.copyVDBRecordData(recordData);	theDataCopy.setName(newName);	Record theRecordCopy = new Record(null, theDataCopy, getX(), getY());	//theRecordCopy.move(20-view.getRx(), 20-view.getRy());	Group.getRoot().addSubObject(theDataCopy.getName(), theRecordCopy, true);	//theRecordCopy.fixEPICSOutLinks(Group.substractParentName(recordData.getName()), group);	theRecordCopy.manageLinks();	unconditionalValidation();	return theRecordCopy;}