Copy paste select objects in the new file (python?)

If it’S blocks, then you can try to copy them from a Xref