fixed duplicatePlugin
renamed parameters of duplicatePlugin:
pluginId -> dest_pluginId
plugin_to_dup_id -> source_pluginId