application.setDescription(existing.getDescription());
application.setHeight(existing.getHeight());
application.setIcon(existing.getIcon());
application.setId(existing.getId());
application.setModifiable(existing.isModifiable());
application.setProperties(new Properties(existing.getProperties()));
application.setShowApplicationMode(existing.getShowApplicationMode());
application.setShowApplicationState(existing.getShowApplicationState());
application.setShowInfoBar(existing.getShowInfoBar());
application.setState(copy(existing.getType(), existing.getState()));
application.setTheme(existing.getTheme());