remove unneeded |0 also in memcpy