I need help with Mac extract icon from folder

I have a 15" Retina Display MacBook Pro that has the 2.7 GHz Intel Core i7 processor, 16 GB RAM, 1 GB Nvidia GeForce GT 650M Graphics Card and OSx Mountain Lion. I want to extract an application folder icon and save it as a JPEG file. Can someone help me with Mac extract icon from folder?
