Fix bug in string_slice::copy