Program Arduino from Arduino

This should work also with a Mega as Programmer: Using an Arduino as an AVR ISP (In-System Programmer)