Idź kopiuj do tablicy
b = make([]int, len(a))
copy(b, a)
// or
b = append([]int(nil), a...)
Mackerel
b = make([]int, len(a))
copy(b, a)
// or
b = append([]int(nil), a...)