Export and import configuration settings and content
See this question and answers on why what you want to do is not possible at the moment.

How to add the configuration changes from a website to another website?