It is most likely derived from the Tamil expression tupasi (man of two languages, interpreter), but it may also be influenced by the Hindi and Malay/Indonesian word topi, hat.
It is most likely derived from the Tamil expression tupasi (man of two languages, interpreter) which was ulimately derived from Sanskrit word, "Dvibhaashi" (Dubash). But it may also be influenced by the Hindi and Malay/Indonesian word topi, hat.