Creating a road from a small piece?

Heya people im wondering if its possible to create a full road roughly a kilometre long after designing a piece only 10m long? like to duplicate it along a line?

Thank you:)

array modifier