Bring chocolate to a boil with 300 ml milk in a saucepan. Stir until the chocolate has dissolved. Whisk the remaining 200 ml milk with cocoa, sugar and cornstarch with a whisk. Then add to the chocolate milk and bring to the boil again while stirring.