There are several possible reasons for having more than two pilots. There may be a relief pilot on a long flight so the other pilots can get some rest. You don't want them exhausted during the landing, which is the most difficult bit of the flight, so they'll take it in turns to get some sleep during the cruise.