[typed arrays] fixes on assignment operator