Complex sentence: Now alone with Bill's avatar, the Doctor adamantly contends she is not the genuine Bill, only for her avatar to explain that memories are what define a person.
Split into simpler sentences: Now alone with Bill's avatar, the Doctor adamantly contends she is not the genuine Bill. The avatar to explain that memories are what define a person.