transfer data from gpu

hi guy,
did anyone knows how can i tranfer data form
the gpu which i’m using cudaMallocPitch to create it ?
i try using cudaMemcpy2D( )
but the data seem don’t correct at all

have anyone had any ideal ?