1 2 3 4 5 6 7 8 9
package objects func builtinCopy(args ...Object) (Object, error) { if len(args) != 1 { return nil, ErrWrongNumArguments } return args[0].Copy(), nil }