added to also copy out the ntuples when doTree option is given