Implemented array resize in native compiler