Copy now in the TFitResult the TF1 function pointer, which will be managed by the class. This fixes the bug ROOT-6582