#15: Added a copy function for trees

The selection operator will make use of the copy function to copy trees
into next generation population.