Ivan Fadeev wrote:He said to me that he was my friend.
he told me that he was my friend.
_________________________
In reported speech, sentence 2 is the preferred choice. In multiple choice questions, if the second sentence is not an option and the first sentence is one of the options provided, it can be marked correct.