For a primer on all of the mythology, you should read
Silver Surfer #34-38.
Thanos Quest #1-2, and then
Silver Surfer #44-48 and #50.
And then finally, the limited series,
Infinity Gauntlet (six issues). All of that is the genesis and basic core of the entire MCU plot-line. Though many changes have been made. You can read them online for free:
http://readcomiconline.to/Comic/Silver-Surfer-1987/Issue-34?id=11658#3
Some frames are shot for shot, though with different characters due to the licensing for different properties.
Surfer/Banner crashes into Dr. Strange's house.
"Snap of his fingers" line from Gamorra.