common: remove old memcpy implementation

Could someone check a windows build?