(!) simply use the working method duplicateImages(), we do not search the difference here and we will delete this soon (!) currently no usage found, remove for il5.3
Note this method is deprecated. User Interface components are migrated towards the UIComponents and Global Screen which do not make use of the mechanism provided here. Make use of the extension possibilities provided by Global Screen and UI Components instead.