Fixed error with dst and src within cudaMemcpy