memcpy+memset added