All you have to do is enter privlege mode and enter: more system:running-config

Copy and paste this into a text file and run: configure terminal

You can paste at the prompt here. Once done enter: write memory