Got it runnig only 70% slower than memcpy