Perform the deep copy/transform to Fortan order

If the array is in Fortran order just use reshape, otherwise convert
to Fortran order after warning.