This sketch can be used to let one Arduino program a sketch or bootloader into another one, using the ISP programming pins. This sketch is based on OptiLoader, but modified for use with Adafruit's ...
This is a fork of the code and examples from "Make: AVR Programming" that I've addapted to work with the Arduino Uno R3 (I'm using the SMD variant, but it shouldn't matter which UNO R3 you're using).