Move TS Arrays to a single pointer