pub fn to_wasm_ptr<T>(ptr: FatPtr) -> (WasmPtr<T, Array>, u32)where T: Copy,
Take a regular FatPtr and convert it to a WasmPtr (which makes it easier to interact with the wasmer memory).