How to download the current blink sketch off of a Mega 2650 and view on a PC

I have a used Mega 2650 and I want to download the current blink sketch so I can save it to upload to a new board. How do I do that?

It is not worth the trouble. All you could get from the Mega is the HEX code that was created by the compiler. It would be quite meaningless to a human.

The simple thing to do is to compile and upload the same program again for the other Arduino.

...R

There avrdude commands you can run to save a .hex file from a board. Then you can upload that hex file with a Programmer. I don't know if the IDE supports the hex file copying or the hex file loading, play in the menu and see what you can find.

IDE: Files / Examples / 01. Basics / Blink