I have this question
I would copy the contents of a Smart Object
and paste it into another document
how I might proceed.
If you don't want those contents in the smart filter wrapper, you would open the SO, then select all layers and duplicate them to the new file. Most of that can be done using Scriptlistener.
Retrieving data ...