Get a file’s icon as an image

In the Finder, select any file, and choose Edit > Copy (⌘C). Open Preview.app and select File > New from Clipboard (⌘N). The file’s .icns images are imported immediately as high-res graphics, one page for each icon size that is included in the file’s bundle.