Usergroups and Permissions Help

I setup a temp forum on my site's subforum and did all these user groups and set up forums and permissions to show what we could do. Now we have registered a new domain for my group and I want to move all that stuff over without re-entering everything. Is there any way to export and import or just download one of the PHP files from one and overwrite the other get all that info or is re-entering the only way? It was a very repetative thing to do and took forever and I want to avoid having to do it again.