ir: Copy null types.