fn copy(dst: []u8, src: []const u8) usize

Copies elements from a source src slice into a destination dst slice. The copy never returns an error but might not be complete if the destination is too small. Returns the number of elements copied, which will be the minimum of src.len and dst.len. TODO: remove this smelly function

Parameters

dst: []u8,
src: []const u8,