it should be a bug on memcpy, we use a inefficient version of bitMemcpy