reduce ioc memcpy : update source code