Arrays help

I have 3 arrays, one empty

firstArray (hi1, hi2, hi3, hi4, hi5, hi6, hi7, hi8, hi9)
secondArray (0, 3, 6, 2, 9, 1, 7, 8, 5)
thirdArray ()

I need the firstArray elements to jump into the thirdArray, with the same element order as secondArray

So. “hi1” should be element 0, within thirdArray
“hi2” should be element 3, within thirdArray
“hi3” should be element 6, within thirdArray

etc.

TyTy