bzero->memset
zero update value before copying