Copy Table Or Table Text From Another. Since you are trying to use innerHTML to copy the information a complete copy should be safe ie. As you can see from the above snapshot we obtained all the code details in the table.

As you see I wrote it once and I called it twice. Ive looked into changing the default paste but cannot see how to change this feature. Than choose and click Copy.
The less effort the more afford.
Function copy_vals _row_id var _src documentgetElementById cell _row_id _1. As you see I wrote it once and I called it twice. Not have any id attributes that might become duplicated in which case I would do this. On the Layouttab in the Data section click Convert to Text.