Standard RAID levels - Wikipedia, the free encyclopedia explains it well
Essentially, each of the 4 disks contains parity data for all the other disks. If a disk dies, you insert a blank disk, and the array rebuilds the blank disk from the data stored on the remaining 3.