Locate the File or App:
Open Finder and select the file or app whose icon you want to copy.
Copy the File or App:
Control-click (or right-click) the file. Select Copy from the contextual menu.Paste into Preview:
Open the Preview app. In Preview, navigate to File > New from Clipboard.Save or Edit the Icon:
Preview will display the full-size icon, complete with transparency. Save the image in your desired format, including PNG, JPEG, or HEIF. 2. Special CasesPDF Files:
Copying a PDF file directly results in a duplicate of the document, not its icon.
Aliases:
This method works for Finder aliases as well, giving you the generic icon for the original file or app.