The strcpy documentation says: "The behavior of strcpy is undefined if the source and destination strings overlap." This patch avoids this type of cases.
The strcpy documentation says:
"The behavior of strcpy is undefined if the source and destination strings overlap."
This patch avoids this type of cases.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@12915 27541ba8-7e3a-0410-8455-c3a389f83636

sbinet/cxx-root,thomaskeck/root,karies/root,bbockelm/root,davidlt/root,sirinath/root,root-mirror/root,mattkretz/root,sirinath/root,krafczyk/root,satyarth934/root,omazapa/root,BerserkerTroll/root,simonpf/root,mattkretz/root,pspe/root,davidlt/root,0x0all/ROOT,nilqed/root,abhinavmoudgil95/root,sbinet/cxx-root,mattkretz/root,krafczyk/root,karies/root,zzxuanyuan/root-compressor-dummy,mhuwiler/rootauto,omazapa/root-old,dfunke/root,bbockelm/root,bbockelm/root,vukasinmilosevic/root,ffurano/root5,tc3t/qoot,Duraznos/root,omazapa/root,jrtomps/root,olifre/root,perovic/root,zzxuanyuan/root,CristinaCristescu/root,arch1tect0r/root,ffurano/root5,zzxuanyuan/root,cxx-hep/root-cern,kirbyherm/root-r-tools,gganis/root,tc3t/qoot,strykejern/TTreeReader,ffurano/root5,dfunke/root,buuck/root,nilqed/root,beniz/root,mkret2/root,mkret2/root,thomaskeck/root,esakellari/my_root_for_test,strykejern/TTreeReader,smarinac/root,zzxuanyuan/root,thomaskeck/root,buuck/root,arch1tect0r/root,mkret2/root,kirbyherm/root-r-tools,sawenzel/root,alexschlueter/cern-root,tc3t/qoot,omazapa/root,lgiommi/root,Duraznos/root,sawenzel/root,sirinath/root,davidlt/root,mhuwiler/rootauto,satyarth934/root,abhinavmoudgil95/root,sbinet/cxx-root,krafczyk/root,perovic/root,nilqed/root,cxx-hep/root-cern,omazapa/root,agarciamontoro/root,smarinac/root,perovic/root,esakellari/my_root_for_test,Duraznos/root,beniz/root,krafczyk/root,Duraznos/root,omazapa/root-old,simonpf/root,Y--/root,gganis/root,sirinath/root,sirinath/root,BerserkerTroll/root,bbockelm/root,Y--/root,BerserkerTroll/root,buuck/root,0x0all/ROOT,thomaskeck/root,tc3t/qoot,omazapa/root-old,lgiommi/root,davidlt/root,BerserkerTroll/root,kirbyherm/root-r-tools,bbockelm/root,sawenzel/root,esakellari/root,kirbyherm/root-r-tools,mattkretz/root,arch1tect0r/root,agarciamontoro/root,arch1tect0r/root,mattkretz/root,pspe/root,veprbl/root,lgiommi/root,beniz/root,smarinac/root,Dr15Jones/root,cxx-hep/root-cern,zzxuanyuan/root-compressor-dummy,buuck/root,strykejern/TTreeReader,jrtomps/root,gbitzes/root,BerserkerTroll/root,Dr15Jones/root,Duraznos/root,mattkretz/root,CristinaCristescu/root,bbockelm/root,abhinavmoudgil95/root,mkret2/root,simonpf/root,root-mirror/root,omazapa/root,vukasinmilosevic/root,mkret2/root,root-mirror/root,satyarth934/root,gganis/root,olifre/root,buuck/root,gganis/root,dfunke/root,zzxuanyuan/root,bbockelm/root,sirinath/root,abhinavmoudgil95/root,veprbl/root,beniz/root,zzxuanyuan/root-compressor-dummy,gbitzes/root,mkret2/root,sawenzel/root,perovic/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,mkret2/root,tc3t/qoot,thomaskeck/root,strykejern/TTreeReader,olifre/root,gganis/root,olifre/root,karies/root,karies/root,abhinavmoudgil95/root,cxx-hep/root-cern,satyarth934/root,thomaskeck/root,perovic/root,mhuwiler/rootauto,krafczyk/root,gbitzes/root,root-mirror/root,mattkretz/root,buuck/root,omazapa/root,vukasinmilosevic/root,pspe/root,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,jrtomps/root,arch1tect0r/root,zzxuanyuan/root,BerserkerTroll/root,esakellari/my_root_for_test,dfunke/root,nilqed/root,karies/root,kirbyherm/root-r-tools,tc3t/qoot,beniz/root,beniz/root,lgiommi/root,georgtroska/root,evgeny-boger/root,Duraznos/root,omazapa/root-old,mhuwiler/rootauto,gganis/root,veprbl/root,sawenzel/root,olifre/root,abhinavmoudgil95/root,Y--/root,omazapa/root-old,lgiommi/root,esakellari/root,abhinavmoudgil95/root,mkret2/root,zzxuanyuan/root,jrtomps/root,omazapa/root,BerserkerTroll/root,beniz/root,veprbl/root,nilqed/root,nilqed/root,0x0all/ROOT,evgeny-boger/root,vukasinmilosevic/root,karies/root,veprbl/root,satyarth934/root,gbitzes/root,karies/root,strykejern/TTreeReader,georgtroska/root,zzxuanyuan/root-compressor-dummy,alexschlueter/cern-root,nilqed/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,esakellari/root,olifre/root,smarinac/root,esakellari/my_root_for_test,root-mirror/root,buuck/root,ffurano/root5,beniz/root,nilqed/root,karies/root,zzxuanyuan/root,arch1tect0r/root,dfunke/root,arch1tect0r/root,olifre/root,omazapa/root,cxx-hep/root-cern,alexschlueter/cern-root,BerserkerTroll/root,Y--/root,CristinaCristescu/root,sbinet/cxx-root,davidlt/root,georgtroska/root,evgeny-boger/root,lgiommi/root,olifre/root,veprbl/root,gbitzes/root,smarinac/root,CristinaCristescu/root,davidlt/root,tc3t/qoot,agarciamontoro/root,agarciamontoro/root,sawenzel/root,agarciamontoro/root,dfunke/root,dfunke/root,simonpf/root,beniz/root,sawenzel/root,sbinet/cxx-root,esakellari/my_root_for_test,sirinath/root,krafczyk/root,simonpf/root,esakellari/my_root_for_test,jrtomps/root,gbitzes/root,root-mirror/root,evgeny-boger/root,gbitzes/root,zzxuanyuan/root,agarciamontoro/root,esakellari/root,Y--/root,esakellari/my_root_for_test,smarinac/root,buuck/root,veprbl/root,CristinaCristescu/root,lgiommi/root,0x0all/ROOT,buuck/root,omazapa/root,Y--/root,abhinavmoudgil95/root,agarciamontoro/root,CristinaCristescu/root,zzxuanyuan/root,georgtroska/root,georgtroska/root,tc3t/qoot,veprbl/root,0x0all/ROOT,jrtomps/root,0x0all/ROOT,Duraznos/root,gbitzes/root,Y--/root,zzxuanyuan/root,dfunke/root,arch1tect0r/root,beniz/root,gganis/root,gbitzes/root,alexschlueter/cern-root,vukasinmilosevic/root,root-mirror/root,mattkretz/root,CristinaCristescu/root,mhuwiler/rootauto,smarinac/root,0x0all/ROOT,gbitzes/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root-compressor-dummy,mattkretz/root,arch1tect0r/root,ffurano/root5,BerserkerTroll/root,alexschlueter/cern-root,gganis/root,buuck/root,CristinaCristescu/root,Y--/root,jrtomps/root,georgtroska/root,mkret2/root,veprbl/root,ffurano/root5,omazapa/root-old,Duraznos/root,krafczyk/root,perovic/root,jrtomps/root,sawenzel/root,smarinac/root,abhinavmoudgil95/root,sawenzel/root,Dr15Jones/root,gganis/root,evgeny-boger/root,perovic/root,Dr15Jones/root,georgtroska/root,agarciamontoro/root,sawenzel/root,cxx-hep/root-cern,esakellari/root,Y--/root,esakellari/root,simonpf/root,veprbl/root,tc3t/qoot,satyarth934/root,agarciamontoro/root,simonpf/root,alexschlueter/cern-root,simonpf/root,bbockelm/root,mkret2/root,ffurano/root5,bbockelm/root,davidlt/root,evgeny-boger/root,Y--/root,root-mirror/root,sirinath/root,bbockelm/root,satyarth934/root,sbinet/cxx-root,omazapa/root-old,karies/root,dfunke/root,smarinac/root,vukasinmilosevic/root,mattkretz/root,root-mirror/root,beniz/root,Y--/root,CristinaCristescu/root,georgtroska/root,simonpf/root,alexschlueter/cern-root,abhinavmoudgil95/root,BerserkerTroll/root,Dr15Jones/root,esakellari/root,lgiommi/root,karies/root,gbitzes/root,pspe/root,pspe/root,dfunke/root,thomaskeck/root,satyarth934/root,davidlt/root,olifre/root,smarinac/root,tc3t/qoot,sbinet/cxx-root,nilqed/root,georgtroska/root,Duraznos/root,esakellari/root,Duraznos/root,vukasinmilosevic/root,pspe/root,esakellari/root,agarciamontoro/root,omazapa/root,simonpf/root,Dr15Jones/root,pspe/root,sirinath/root,zzxuanyuan/root-compressor-dummy,olifre/root,cxx-hep/root-cern,sbinet/cxx-root,agarciamontoro/root,lgiommi/root,gganis/root,simonpf/root,perovic/root,karies/root,kirbyherm/root-r-tools,gganis/root,evgeny-boger/root,arch1tect0r/root,krafczyk/root,perovic/root,BerserkerTroll/root,cxx-hep/root-cern,esakellari/my_root_for_test,mkret2/root,mhuwiler/rootauto,davidlt/root,vukasinmilosevic/root,perovic/root,lgiommi/root,davidlt/root,bbockelm/root,sbinet/cxx-root,strykejern/TTreeReader,kirbyherm/root-r-tools,mhuwiler/rootauto,davidlt/root,0x0all/ROOT,abhinavmoudgil95/root,krafczyk/root,mhuwiler/rootauto,thomaskeck/root,satyarth934/root,omazapa/root-old,zzxuanyuan/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,veprbl/root,satyarth934/root,mhuwiler/rootauto,buuck/root,jrtomps/root,lgiommi/root,dfunke/root,mhuwiler/rootauto,vukasinmilosevic/root,esakellari/root,jrtomps/root,sbinet/cxx-root,esakellari/my_root_for_test,sirinath/root,thomaskeck/root,sbinet/cxx-root,omazapa/root-old,krafczyk/root,mattkretz/root,olifre/root,pspe/root,omazapa/root-old,CristinaCristescu/root,CristinaCristescu/root,sawenzel/root,georgtroska/root,omazapa/root-old,pspe/root,nilqed/root,evgeny-boger/root,root-mirror/root,pspe/root,vukasinmilosevic/root,pspe/root,nilqed/root,thomaskeck/root,zzxuanyuan/root,Duraznos/root,krafczyk/root,omazapa/root,perovic/root,strykejern/TTreeReader,root-mirror/root,jrtomps/root,0x0all/ROOT,Dr15Jones/root,evgeny-boger/root,arch1tect0r/root,esakellari/root,sirinath/root,evgeny-boger/root,georgtroska/root