There are often several interpretations of what a question is really asking. There are often several ways to answer a question. Having an answer marked as "accepted" merely means that it solved the problem for the original asker.
If you agree that your question is similar to the duplicate then you could write another answer on that duplicate. This is good for the site because the duplicate then has another way of solving that sort of problem. Your question remains there pointing at the duplicate which now has both answers. This gives people searching a bigger chance of finding either your answer or the accepted answer.