Earlier today, I wrote a quick answer on a question, and received an upvote. I then saw a comment on the question identifying it as an exact duplicate (the asker had asked the same question twice within minutes). I then deleted my answer, and voted to close the duplicate question, before writing a new, longer answer on the original question. This new answer received no upvotes.
I later noticed that the duplicate question hadn't been closed (lack of 3k+ attention, I suppose) and had received a bit of action in the interim. Because of this, I flagged the question for moderator review, and recommended merging the questions.
This left me with two answers on the same question - one with a detailed answer with no upvotes, and another shorter, deleted answer with one upvote.
What I did next might constitute reputation whoring. I copied the text from the unvoted answer into the upvoted answer, then deleted the unvoted answer and undeleted the upvoted answer.
I think this is OK because the longer answer was a superset of the shorter one, so the upvote was still valid. I'd just like the community to weigh in on whether or not what I did was ok.
Is this sort of behaviour allowed, and do you consider it ethical?