dont memcpy() simpler and same speed