You can visit Mozambique any time of year, especially if you're going to be on the beach. I think the best time is mid-winter (June-August), as the chances of malaria are a bit reduced, and the days are great. The sea is fine for swimming, too.
My son put up a web page of his visit:
http://pretief.mpu.co.za/david/mocam/mocam.htm