It is clearly a later version of huzzah. However hurrah replaced huzzah as a cry of praise or exultation, it had pretty much happened by the 19th century. Hooray is a variant on hurrah that first appeared in 19th century America, along with hurroo and hoorah.