The primary reason why Dickens wrote David Copperfield is because G. it was too painful for him to confront his memories directly in an autobiography.
This way, he could write about his own life, but in a different way, from a different point of view, which wouldn't be as difficult.
When people fall in love they say they been hit by cupids arrow. She doesn't love him, therefore he's having a one sided love.