private void copyPlugins(final List<PluginInfo> plugins2){
  for (  PluginInfo pluginInfo : this.plugins) {
    plugins2.add(new PluginInfo(pluginInfo));
  }
}

private void copyPlugins ( final List < PluginInfo > plugins2 ) { for ( PluginInfo pluginInfo : this . plugins ) { plugins2 . add ( new PluginInfo ( pluginInfo ) ) ; } }
copy plugins for new configuration .
