pub fn copy<T>(src: &[T], dst: &mut [T])where
    T: Copy,Expand description
Copies each value in src to the corresponding position in dst.
Both slices must have the same length.
ยงPanics
This method panics if the slices have different lengths.