Cocadas are a traditional coconut candy or confectionery found in many parts of Latin America. In Brazil, cocadas are a traditional confectionery originating from the north-east of the country. One variation of cocada in Brazil is the "black cocada" made with brown sugar and slightly burnt coconut. In Brazil, they are often long and thin rather than round, and are often sold in the streets. See here the recipe
400 g thick grated coconut,
2 and 1/2 cups of sugar
1 and 1/2 cup of water
1/4 cup of condensed milk
Put the water and sugar in a pan and bring to a high heat.
Let the sauce cook until the medium wire point.
Pour the coconut in the pan with the syrup and stir.
Add the condensed milk and continue stirring until it starts to loosen from the bottom of the pan.
Remove the pan from the heat and with a spoon place form the candies and place on a tray covered with baking paper.
Wait a little until then get dry and remove the pans from the pan with a spatula, if needed.
It can be stored in containers for a few days in the fridge or a dry place,