Create Local Index and identify with loop, use second loop to create new
array.