Jira #Components are project specific and if you want to move it to another project then simply create one with the same name. I have some scripts that might help.
https://www.ravisagar.in/videos/scriptrunner-create-project-component
https://www.ravisagar.in/videos/scriptrunner-jira-get-list-projects-iss…
Topic