Right click on the Replication folder in SSMS and select Generate Scripts. Select the options if you want to include distributor properties and replication jobs, select the publications and subscriptions, select the option to create or enable the components and then click on the Generate Scripts button and select the destination for the scripts.
Sue