Depends, you can't have a slice all on its own [T]/str. If you have a borrow of a slice &[T]/&mut str then there is no copy, but if you as for a copy with functions like copy_from_slice then you will get a copy.
Depends, you can't have a slice all on its own [T]/str. If you have a borrow of a slice &[T]/&mut str then there is no copy, but if you as for a copy with functions like copy_from_slice then you will get a copy.