Fix memcpy signature
Pass gtype as a plain type
Reduce typeclass usage of Types::Complex