Copy_out for procedures implemented.