add copy_type_specifier in generate.c