You need a way to distinguish the buttons in the code. But they can have the same label (so they look identical):
cp5.addButton("A").setLabel("A").setPosition(40, 40);
cp5.addButton("B").setLabel("A").setPosition(40, 60);
cp5.addButton("C").setLabel("A").setPosition(40, 80);