Files

11 lines
127 B
Go

package main
import "fmt"
func main() {
src := []int{1, 2, 3}
var dst []int
copy(dst, src)
fmt.Println("copied:", dst)
}