i would believe you can do like that using the copymemory API

i remember a thread that showed how to transpose a 2d array using copy memory, but it is not something i am familiar using, so you might have to do some searching