The victory was enough for the Pharaohs to finish top of the group on seven points, one more than Morocco, who booked their place after the second day matches. Libya garnered four points and Angola pointless in that order.
Ahmed Mohamed put the Egyptians up on 12 minutes but an own-goal by Mostafa Eid saw the first half end even.
On the half-hour mark, Mohamed restored the Pharaohs lead before Eid redeemed his image with the third goal three minutes later. The Moroccans pulled one back through Adil Habil five minutes from time.
At the Orlando Hall, Libya took a 3-0 lead by the tenth minute thanks to a Salem Mustafa brace and the other from Mohamed Suleiman. Mustafa sealed his hat-trick two minutes after the break before the Angolans reduced the deficit through Artur da Silva and Mario Jose Antonio.
Morocco 2-3 Egypt
Libya 4-2 Angola
Semi Final Fixtures
Friday, 22 April 2016
Mozambique vs Morocco
Egypt vs Zambia