translated reflect.Copy, .SetCap and .SetLen to Go