Change rc_copy_alloc_id to do the cast.

Closed Rodolphe Lepigre requested to merge new_copy_aid into master

Merge request reports