"I gave Tom an apple" and "I gave an apple to Tom" have the same meaning. The meaning of Tom receiving the apple comes form the position of the word in the former example and from the preposition in the latter. Would the two be analysed in the same fashion ? dative?
Related question (in and about French): https://french.stackexchange.com/questions/34858/un-verbe-peut-il-avoir-deux-cod