Project array to dynamic array