for (IMapObject mo : Collections.unmodifiableCollection(mapobjs)){
if(mo instanceof ShapeMapObject){
ShapeMapObject refSMO = (ShapeMapObject)mo;
if(refSMO.isSelected()){
ShapeMapObject copySMO = refSMO.copy();
copySMO.moveShape(diff, pos);
//refSMO.setPosition();
copyLst.add(copySMO);
if(dragInitiated==true){
copySMO.setSelected(true);
refSMO.setSelected(false);