This is the copy_term handler for the range attribute. It allows copy_term/2 to handle the range attribute, and is not meant to be called directly by the user.
Range and type are copied, delayed goals are not.