+Meta *Meta::Copy(CYPool &pool, const char *name) const {
+ return new(pool) Meta();
+}
+
+Selector *Selector::Copy(CYPool &pool, const char *name) const {
+ return new(pool) Selector();
+}
+
+Bits *Bits::Copy(CYPool &pool, const char *name) const {
+ return new(pool) Bits(size);
+}
+
+Pointer *Pointer::Copy(CYPool &pool, const char *name) const {
+ return new(pool) Pointer(*type.Copy(pool));
+}
+
+Array *Array::Copy(CYPool &pool, const char *name) const {
+ return new(pool) Array(*type.Copy(pool), size);
+}
+
+Object *Object::Copy(CYPool &pool, const char *name) const {
+ Object *copy(new(pool) Object(pool.strdup(name)));
+ copy->name = name;
+ return copy;
+}
+
+Aggregate *Aggregate::Copy(CYPool &pool, const char *name) const {
+ Aggregate *copy(new(pool) Aggregate(overlap, name));
+ sig::Copy(pool, copy->signature, signature);
+ copy->name = name;
+ return copy;
+}
+
+Function *Function::Copy(CYPool &pool, const char *name) const {
+ Function *copy(new(pool) Function());
+ sig::Copy(pool, copy->signature, signature);
+ return copy;
+}
+
+Block *Block::Copy(CYPool &pool, const char *name) const {
+ Block *copy(new(pool) Block());
+ sig::Copy(pool, copy->signature, signature);
+ return copy;
+}
+
+void Copy(CYPool &pool, ffi_type &lhs, ffi_type &rhs) {