Hmm... I would rather say - Buddha is the reformer of the old
Hindu religion (which at that time was not called Hinduism but
Brahmanism), just like Jesus came to 'reform' by giving the New
Testament. Buddha rejected its ideas, practises, rejected the Vedas
and rejected the caste system.
However it is also true that modern Hinduism (Hinduism is only
named after the Islam invaders in India) does have similarities
with Buddhism - but I would suggest that it might not be the former
which has 'copied' but could be another way round, that Buddhism
has largely influenced Hinduism especially just prior to its fading
off in India, which Buddhism became at one time almost absorbed
into Hinduism as a sect. Anyway it can be quite a complex issue, so
its not just 'Buddhism has its roots in Hinduism' thing.