Not necessarily (although that would be a lot safer). You can get a pointer to the array object, and fiddle with underlying C structure, using unsafe_*
calls in Julia.
Edit: if either of the arrays store their data in-line though, I see it might not be possible unless the allocated sizes are the same.