If calories in the bars are equal, and if your body can absorb the same number of calories from the food, and if your metabolism stays the same on the different kinds of foods, and if you have the self-discipline to eat only the same number of calories when the sugar rush from the chocolate bar wears off and you want another.