in law, the substitution of one person for another, esp as a creditor, together with the transfer of associated rights