"duplicate" Script

 From:  RHolmes (RICOHOLMES)
7003.1 
Hello folks,
Because I use MOI at least 50% of the time on my tablet (sans keyboard) I'd love you have a "duplicate" button. This is, and should be the simplest thing in the world but I'm not having much luck.

eg script: moi.copy();moi.paste(); (don't laugh!)


I know there's Copy and Paste buttons already on the main panel but I use the Custom UI and would dearly like to have a dedicated Duplicate button on the bottom pane.
Any advice ?