Do these two calls have the same performance?
ptr::copy::<u8>(src as *const u8, dst as *mut u8, size_of::<T>());
ptr::copy::<T>(src, dst, 1);
src and dst are both type T raw pointers, there're two ways of copying src to dst. I don't know how does rust implement ptr::copy, so do they have the same performance?