Derry City moved to the summit of the SSE Airtricity Men's Premier Division table with a 4-1 win over bottom of the league UCD.