How can I duplicate the 5V and GND pins on the Arduino nano board?

One of the first steps in designing and electronic circuit is to draw a schematic. Then you will know how many connections of each type will be required. The PC board is designed from the schematic.

How to draw a schematic for beginners.

KiCad, a free schematic and PC board design program.