pub fn copy_safe<T>(src: &[T], dst: &mut [T]) -> usizewhere T: Copy,
Copy data from one slice to another with bounds checking
src
dst
The number of elements copied