Why does this LED matrix have two 5V and GND pins?

@swarkin

See post #2

So when you use that matrix, connect your +5V to both 5V pins and the Ground (-5V) of your 5V supply to both GND pins.