improved performance of reflect.Copy