When I use array modifier to the bezier curve, the last part of the curve was not covered
Since your shape is uniform along length, consider using the star as a bevel.
Then you don't need the array modifier, and you have overall better control.

Convert your star shape to a curve (Mesh &gt; Convert to &gt; Curve)
Select the spiral, and choose your star shape as a Bevel object
Adjust to your needs