Putting two root files in one

Hi,
I have two root files that I would like to combaine in one, each file contains a tree t1, the trees in the two files have similar branches.
Any Ideas fellows :laughing:

Use the tool in $ROOTSYS/bin/hadd

hadd result.root file1.root file2.root filen.root

Rene

Thanks Rene it worked.