copy and paste

 From:  propiro
6181.9 
Hello,
Sorry for digging up old thread.
Im new to moi scripting, i do however have some maxscript and c# experience.
For now, I have no idea why the modification of above script doesnt work, and im not sure if its related to moi behaviour, or my rusted skills:

script:
/* Duplicate selected objects */
var gd = moi.geometryDatabase;
var objs = gd.getSelectedObjects();
if ( objs.length != 0 ) gd.copyToClipboard( objs );
moi.command.execCommand( 'paste' );
objs =gd.getSelectedObjects();
if ( objs.length != 0 ) moi.command.execCommand( 'Move' );

all i want is for this script AFTER pasting the copy to immidiately enter move command - it enters, but for original object, and actually doesnt duplicate the the object. If i remove last 2 lines (i've already tried just simply "moi.command.execCommand( 'Move' );" ) and "move" assuming it should be already selected, but result was identical.
Any help welcome, thanks!