Calling built in scripts from ScriptRunner?

Hello, I have a need to automate creation of spaces and I’m looking for a way to call the built in script “Copy Space” (since I have a few different “blueprint spaces” that I would like to use for the spaces. I have not found anything from modern time (>2017) touching this. Perhaps I’m not searching well :-/
Pointers / example code is very welcome

I think there are no so many changes in that part, but this is a modern example about how to use the built-in scripts. Identify Pages with broken image links - Adaptavist Library

Let me know if this works for you!
Thanks, Ivan.