Sweep2 but with array

how to do array along 2 curves, like how we hav 2 rails in sweep2, same but array? Can somone help asap?
in grasshopper btw.