swmemcpy now works