Fixing FANN::neural_net copy constructor

There is a bug in the FANN::neural_net copy constructor. The newly constructed object does not have a proper pointer at this->ann. The function copy_from_struct_fann(), which is called from within the copy constructor, calls destroy(), which might try to access this->ann (an invalid pointer).

Solution: set this->ann to NULL.