[deleted] I don't think we have any available solution for this. You will have to write the script yourself.
You might also be able to perform the read/write actions via the Flarum API.
If you were moving the whole forum, you could copy the complete database over, and start from there on the new website. It would overwrite anything already created on the new forum though.