FileHandle.moveTo() Update
FileHandle.moveTo() Update

delete() only deletes files and empty directories.  As such, moveTo() would leave the old directory after a moveTo() opperation.  By adding deleteDirectory(), this ensures the old copy is removed.  Not sure if the test "if (exists () && isDirectory())" is needed.
xpenatan/libgdx-LWJGL3,andyvand/libgdx,sarkanyi/libgdx,FredGithub/libgdx,js78/libgdx,jasonwee/libgdx,MetSystem/libgdx,FyiurAmron/libgdx,sjosegarcia/libgdx,nave966/libgdx,davebaol/libgdx,kagehak/libgdx,MovingBlocks/libgdx,ryoenji/libgdx,Zomby2D/libgdx,kagehak/libgdx,curtiszimmerman/libgdx,sjosegarcia/libgdx,titovmaxim/libgdx,1yvT0s/libgdx,katiepino/libgdx,Heart2009/libgdx,kzganesan/libgdx,josephknight/libgdx,mumer92/libgdx,toloudis/libgdx,Dzamir/libgdx,NathanSweet/libgdx,yangweigbh/libgdx,ttencate/libgdx,Badazdz/libgdx,jsjolund/libgdx,MovingBlocks/libgdx,fwolff/libgdx,MathieuDuponchelle/gdx,thepullman/libgdx,kagehak/libgdx,MikkelTAndersen/libgdx,Wisienkas/libgdx,azakhary/libgdx,alireza-hosseini/libgdx,billgame/libgdx,andyvand/libgdx,fiesensee/libgdx,Heart2009/libgdx,fiesensee/libgdx,luischavez/libgdx,Heart2009/libgdx,collinsmith/libgdx,Gliby/libgdx,lordjone/libgdx,tommyettinger/libgdx,nooone/libgdx,junkdog/libgdx,fwolff/libgdx,zommuter/libgdx,1yvT0s/libgdx,anserran/libgdx,haedri/libgdx-1,stickyd/libgdx,ztv/libgdx,bsmr-java/libgdx,Dzamir/libgdx,fwolff/libgdx,ThiagoGarciaAlves/libgdx,tommyettinger/libgdx,kotcrab/libgdx,snovak/libgdx,js78/libgdx,noelsison2/libgdx,xoppa/libgdx,sjosegarcia/libgdx,MovingBlocks/libgdx,ttencate/libgdx,PedroRomanoBarbosa/libgdx,MetSystem/libgdx,firefly2442/libgdx,PedroRomanoBarbosa/libgdx,davebaol/libgdx,lordjone/libgdx,bsmr-java/libgdx,hyvas/libgdx,xpenatan/libgdx-LWJGL3,xpenatan/libgdx-LWJGL3,gouessej/libgdx,sjosegarcia/libgdx,shiweihappy/libgdx,czyzby/libgdx,nrallakis/libgdx,gouessej/libgdx,copystudy/libgdx,luischavez/libgdx,tell10glu/libgdx,gf11speed/libgdx,kagehak/libgdx,nrallakis/libgdx,anserran/libgdx,tommycli/libgdx,Deftwun/libgdx,toloudis/libgdx,nooone/libgdx,nudelchef/libgdx,collinsmith/libgdx,snovak/libgdx,tommycli/libgdx,Gliby/libgdx,ya7lelkom/libgdx,nrallakis/libgdx,MathieuDuponchelle/gdx,Arcnor/libgdx,js78/libgdx,FredGithub/libgdx,nooone/libgdx,JDReutt/libgdx,tommycli/libgdx,PedroRomanoBarbosa/libgdx,thepullman/libgdx,stickyd/libgdx,saqsun/libgdx,ricardorigodon/libgdx,curtiszimmerman/libgdx,Senth/libgdx,Badazdz/libgdx,1yvT0s/libgdx,shiweihappy/libgdx,curtiszimmerman/libgdx,srwonka/libGdx,katiepino/libgdx,Wisienkas/libgdx,katiepino/libgdx,hyvas/libgdx,Arcnor/libgdx,Zonglin-Li6565/libgdx,fiesensee/libgdx,realitix/libgdx,JFixby/libgdx,ztv/libgdx,djom20/libgdx,Thotep/libgdx,antag99/libgdx,antag99/libgdx,stinsonga/libgdx,1yvT0s/libgdx,nave966/libgdx,BlueRiverInteractive/libgdx,MetSystem/libgdx,realitix/libgdx,kagehak/libgdx,toloudis/libgdx,yangweigbh/libgdx,KrisLee/libgdx,saltares/libgdx,ninoalma/libgdx,designcrumble/libgdx,petugez/libgdx,codepoke/libgdx,mumer92/libgdx,EsikAntony/libgdx,TheAks999/libgdx,jberberick/libgdx,stickyd/libgdx,SidneyXu/libgdx,xranby/libgdx,fwolff/libgdx,ttencate/libgdx,Gliby/libgdx,bladecoder/libgdx,zhimaijoy/libgdx,nelsonsilva/libgdx,sarkanyi/libgdx,Wisienkas/libgdx,revo09/libgdx,gdos/libgdx,Xhanim/libgdx,alireza-hosseini/libgdx,ttencate/libgdx,saqsun/libgdx,PedroRomanoBarbosa/libgdx,ThiagoGarciaAlves/libgdx,tell10glu/libgdx,stinsonga/libgdx,andyvand/libgdx,TheAks999/libgdx,realitix/libgdx,toloudis/libgdx,petugez/libgdx,hyvas/libgdx,flaiker/libgdx,titovmaxim/libgdx,designcrumble/libgdx,cypherdare/libgdx,hyvas/libgdx,nave966/libgdx,shiweihappy/libgdx,bsmr-java/libgdx,realitix/libgdx,jasonwee/libgdx,anserran/libgdx,Zomby2D/libgdx,stinsonga/libgdx,codepoke/libgdx,zhimaijoy/libgdx,ThiagoGarciaAlves/libgdx,309746069/libgdx,curtiszimmerman/libgdx,luischavez/libgdx,309746069/libgdx,FyiurAmron/libgdx,Deftwun/libgdx,alex-dorokhov/libgdx,BlueRiverInteractive/libgdx,ninoalma/libgdx,KrisLee/libgdx,gf11speed/libgdx,libgdx/libgdx,ThiagoGarciaAlves/libgdx,collinsmith/libgdx,xpenatan/libgdx-LWJGL3,bgroenks96/libgdx,billgame/libgdx,lordjone/libgdx,del-sol/libgdx,zhimaijoy/libgdx,MadcowD/libgdx,toloudis/libgdx,haedri/libgdx-1,katiepino/libgdx,jasonwee/libgdx,FyiurAmron/libgdx,xranby/libgdx,EsikAntony/libgdx,flaiker/libgdx,JDReutt/libgdx,saltares/libgdx,anserran/libgdx,zhimaijoy/libgdx,MadcowD/libgdx,Deftwun/libgdx,gf11speed/libgdx,curtiszimmerman/libgdx,gdos/libgdx,SidneyXu/libgdx,sarkanyi/libgdx,bsmr-java/libgdx,ztv/libgdx,1yvT0s/libgdx,UnluckyNinja/libgdx,samskivert/libgdx,del-sol/libgdx,junkdog/libgdx,Xhanim/libgdx,ryoenji/libgdx,MathieuDuponchelle/gdx,yangweigbh/libgdx,jasonwee/libgdx,Gliby/libgdx,realitix/libgdx,anserran/libgdx,KrisLee/libgdx,Zomby2D/libgdx,petugez/libgdx,copystudy/libgdx,gf11speed/libgdx,davebaol/libgdx,jasonwee/libgdx,snovak/libgdx,Zonglin-Li6565/libgdx,xoppa/libgdx,mumer92/libgdx,nave966/libgdx,haedri/libgdx-1,toa5/libgdx,Deftwun/libgdx,Arcnor/libgdx,MetSystem/libgdx,stinsonga/libgdx,andyvand/libgdx,ya7lelkom/libgdx,jsjolund/libgdx,Wisienkas/libgdx,copystudy/libgdx,saqsun/libgdx,billgame/libgdx,saqsun/libgdx,thepullman/libgdx,Heart2009/libgdx,jasonwee/libgdx,sjosegarcia/libgdx,alex-dorokhov/libgdx,MikkelTAndersen/libgdx,Thotep/libgdx,gouessej/libgdx,1yvT0s/libgdx,luischavez/libgdx,srwonka/libGdx,ninoalma/libgdx,ztv/libgdx,nudelchef/libgdx,xoppa/libgdx,djom20/libgdx,davebaol/libgdx,codepoke/libgdx,shiweihappy/libgdx,UnluckyNinja/libgdx,collinsmith/libgdx,MadcowD/libgdx,stickyd/libgdx,snovak/libgdx,collinsmith/libgdx,BlueRiverInteractive/libgdx,kzganesan/libgdx,gf11speed/libgdx,nelsonsilva/libgdx,Xhanim/libgdx,thepullman/libgdx,lordjone/libgdx,noelsison2/libgdx,FyiurAmron/libgdx,EsikAntony/libgdx,noelsison2/libgdx,sarkanyi/libgdx,andyvand/libgdx,TheAks999/libgdx,Thotep/libgdx,shiweihappy/libgdx,FredGithub/libgdx,noelsison2/libgdx,flaiker/libgdx,andyvand/libgdx,del-sol/libgdx,tommyettinger/libgdx,Zonglin-Li6565/libgdx,xranby/libgdx,billgame/libgdx,nave966/libgdx,jsjolund/libgdx,djom20/libgdx,tommycli/libgdx,MikkelTAndersen/libgdx,gouessej/libgdx,firefly2442/libgdx,kzganesan/libgdx,309746069/libgdx,GreenLightning/libgdx,codepoke/libgdx,toloudis/libgdx,hyvas/libgdx,Thotep/libgdx,Dzamir/libgdx,Zonglin-Li6565/libgdx,MadcowD/libgdx,thepullman/libgdx,Zonglin-Li6565/libgdx,ricardorigodon/libgdx,MikkelTAndersen/libgdx,Heart2009/libgdx,JFixby/libgdx,anserran/libgdx,nelsonsilva/libgdx,zhimaijoy/libgdx,MathieuDuponchelle/gdx,bsmr-java/libgdx,gdos/libgdx,GreenLightning/libgdx,ya7lelkom/libgdx,flaiker/libgdx,basherone/libgdxcn,josephknight/libgdx,haedri/libgdx-1,haedri/libgdx-1,SidneyXu/libgdx,mumer92/libgdx,antag99/libgdx,samskivert/libgdx,samskivert/libgdx,bladecoder/libgdx,xranby/libgdx,curtiszimmerman/libgdx,hyvas/libgdx,zhimaijoy/libgdx,ricardorigodon/libgdx,js78/libgdx,junkdog/libgdx,youprofit/libgdx,Badazdz/libgdx,luischavez/libgdx,josephknight/libgdx,1yvT0s/libgdx,youprofit/libgdx,tell10glu/libgdx,yangweigbh/libgdx,sarkanyi/libgdx,sjosegarcia/libgdx,azakhary/libgdx,JFixby/libgdx,thepullman/libgdx,KrisLee/libgdx,josephknight/libgdx,samskivert/libgdx,libgdx/libgdx,UnluckyNinja/libgdx,alireza-hosseini/libgdx,sjosegarcia/libgdx,EsikAntony/libgdx,nrallakis/libgdx,gdos/libgdx,basherone/libgdxcn,flaiker/libgdx,saqsun/libgdx,Zomby2D/libgdx,basherone/libgdxcn,sinistersnare/libgdx,bgroenks96/libgdx,Heart2009/libgdx,azakhary/libgdx,MovingBlocks/libgdx,309746069/libgdx,Badazdz/libgdx,fiesensee/libgdx,yangweigbh/libgdx,ninoalma/libgdx,samskivert/libgdx,samskivert/libgdx,UnluckyNinja/libgdx,KrisLee/libgdx,kotcrab/libgdx,toloudis/libgdx,snovak/libgdx,zommuter/libgdx,antag99/libgdx,GreenLightning/libgdx,djom20/libgdx,junkdog/libgdx,UnluckyNinja/libgdx,saqsun/libgdx,EsikAntony/libgdx,GreenLightning/libgdx,toloudis/libgdx,FyiurAmron/libgdx,MovingBlocks/libgdx,bsmr-java/libgdx,srwonka/libGdx,JDReutt/libgdx,petugez/libgdx,ya7lelkom/libgdx,ryoenji/libgdx,youprofit/libgdx,MadcowD/libgdx,designcrumble/libgdx,anserran/libgdx,MathieuDuponchelle/gdx,codepoke/libgdx,youprofit/libgdx,FredGithub/libgdx,zommuter/libgdx,junkdog/libgdx,MikkelTAndersen/libgdx,firefly2442/libgdx,codepoke/libgdx,zhimaijoy/libgdx,gdos/libgdx,Deftwun/libgdx,bsmr-java/libgdx,bgroenks96/libgdx,SidneyXu/libgdx,kotcrab/libgdx,Heart2009/libgdx,MathieuDuponchelle/gdx,Arcnor/libgdx,kzganesan/libgdx,jberberick/libgdx,nudelchef/libgdx,JDReutt/libgdx,NathanSweet/libgdx,kotcrab/libgdx,sinistersnare/libgdx,tell10glu/libgdx,xranby/libgdx,Dzamir/libgdx,jberberick/libgdx,nudelchef/libgdx,toa5/libgdx,Heart2009/libgdx,ztv/libgdx,gf11speed/libgdx,mumer92/libgdx,libgdx/libgdx,alex-dorokhov/libgdx,noelsison2/libgdx,jsjolund/libgdx,firefly2442/libgdx,Dzamir/libgdx,ricardorigodon/libgdx,alireza-hosseini/libgdx,luischavez/libgdx,SidneyXu/libgdx,kotcrab/libgdx,Senth/libgdx,alireza-hosseini/libgdx,curtiszimmerman/libgdx,Senth/libgdx,youprofit/libgdx,Zonglin-Li6565/libgdx,gdos/libgdx,BlueRiverInteractive/libgdx,libgdx/libgdx,toa5/libgdx,lordjone/libgdx,junkdog/libgdx,czyzby/libgdx,xranby/libgdx,FredGithub/libgdx,gouessej/libgdx,FyiurAmron/libgdx,fiesensee/libgdx,fwolff/libgdx,sinistersnare/libgdx,codepoke/libgdx,FredGithub/libgdx,Deftwun/libgdx,sjosegarcia/libgdx,saqsun/libgdx,copystudy/libgdx,BlueRiverInteractive/libgdx,czyzby/libgdx,MetSystem/libgdx,zommuter/libgdx,designcrumble/libgdx,gouessej/libgdx,sinistersnare/libgdx,MadcowD/libgdx,shiweihappy/libgdx,ricardorigodon/libgdx,codepoke/libgdx,haedri/libgdx-1,Xhanim/libgdx,fiesensee/libgdx,revo09/libgdx,Senth/libgdx,309746069/libgdx,toa5/libgdx,JDReutt/libgdx,jberberick/libgdx,antag99/libgdx,ricardorigodon/libgdx,PedroRomanoBarbosa/libgdx,copystudy/libgdx,azakhary/libgdx,kagehak/libgdx,azakhary/libgdx,tommyettinger/libgdx,del-sol/libgdx,revo09/libgdx,Xhanim/libgdx,alireza-hosseini/libgdx,KrisLee/libgdx,ya7lelkom/libgdx,JDReutt/libgdx,Dzamir/libgdx,NathanSweet/libgdx,noelsison2/libgdx,titovmaxim/libgdx,alex-dorokhov/libgdx,BlueRiverInteractive/libgdx,xoppa/libgdx,davebaol/libgdx,JFixby/libgdx,tell10glu/libgdx,Deftwun/libgdx,Arcnor/libgdx,Badazdz/libgdx,alex-dorokhov/libgdx,MikkelTAndersen/libgdx,NathanSweet/libgdx,azakhary/libgdx,JDReutt/libgdx,stickyd/libgdx,Thotep/libgdx,snovak/libgdx,Zonglin-Li6565/libgdx,gouessej/libgdx,JFixby/libgdx,kzganesan/libgdx,kagehak/libgdx,firefly2442/libgdx,firefly2442/libgdx,xpenatan/libgdx-LWJGL3,mumer92/libgdx,KrisLee/libgdx,alex-dorokhov/libgdx,nave966/libgdx,bgroenks96/libgdx,djom20/libgdx,yangweigbh/libgdx,noelsison2/libgdx,Senth/libgdx,Gliby/libgdx,josephknight/libgdx,firefly2442/libgdx,TheAks999/libgdx,309746069/libgdx,saltares/libgdx,youprofit/libgdx,kzganesan/libgdx,titovmaxim/libgdx,sinistersnare/libgdx,saqsun/libgdx,saltares/libgdx,katiepino/libgdx,jberberick/libgdx,nelsonsilva/libgdx,snovak/libgdx,cypherdare/libgdx,stickyd/libgdx,Deftwun/libgdx,tell10glu/libgdx,MathieuDuponchelle/gdx,ttencate/libgdx,ryoenji/libgdx,zommuter/libgdx,ztv/libgdx,ya7lelkom/libgdx,gf11speed/libgdx,josephknight/libgdx,djom20/libgdx,mumer92/libgdx,hyvas/libgdx,kagehak/libgdx,czyzby/libgdx,bladecoder/libgdx,srwonka/libGdx,designcrumble/libgdx,ThiagoGarciaAlves/libgdx,realitix/libgdx,petugez/libgdx,tell10glu/libgdx,toa5/libgdx,basherone/libgdxcn,js78/libgdx,TheAks999/libgdx,collinsmith/libgdx,tell10glu/libgdx,Dzamir/libgdx,Zomby2D/libgdx,Badazdz/libgdx,Wisienkas/libgdx,revo09/libgdx,Dzamir/libgdx,revo09/libgdx,lordjone/libgdx,antag99/libgdx,Gliby/libgdx,nooone/libgdx,MathieuDuponchelle/gdx,cypherdare/libgdx,TheAks999/libgdx,billgame/libgdx,xoppa/libgdx,thepullman/libgdx,Xhanim/libgdx,srwonka/libGdx,gouessej/libgdx,tommycli/libgdx,bgroenks96/libgdx,haedri/libgdx-1,ya7lelkom/libgdx,revo09/libgdx,ninoalma/libgdx,andyvand/libgdx,czyzby/libgdx,MovingBlocks/libgdx,MetSystem/libgdx,antag99/libgdx,nooone/libgdx,nelsonsilva/libgdx,PedroRomanoBarbosa/libgdx,ninoalma/libgdx,jsjolund/libgdx,fiesensee/libgdx,lordjone/libgdx,nrallakis/libgdx,nelsonsilva/libgdx,xranby/libgdx,snovak/libgdx,alireza-hosseini/libgdx,realitix/libgdx,fwolff/libgdx,JFixby/libgdx,ztv/libgdx,stinsonga/libgdx,Zonglin-Li6565/libgdx,Xhanim/libgdx,1yvT0s/libgdx,flaiker/libgdx,billgame/libgdx,fwolff/libgdx,Thotep/libgdx,Senth/libgdx,FredGithub/libgdx,Arcnor/libgdx,youprofit/libgdx,nrallakis/libgdx,TheAks999/libgdx,davebaol/libgdx,titovmaxim/libgdx,shiweihappy/libgdx,billgame/libgdx,realitix/libgdx,mumer92/libgdx,ryoenji/libgdx,nooone/libgdx,BlueRiverInteractive/libgdx,ttencate/libgdx,xoppa/libgdx,bgroenks96/libgdx,ThiagoGarciaAlves/libgdx,kotcrab/libgdx,ryoenji/libgdx,nave966/libgdx,SidneyXu/libgdx,xpenatan/libgdx-LWJGL3,noelsison2/libgdx,tommycli/libgdx,FyiurAmron/libgdx,ninoalma/libgdx,GreenLightning/libgdx,billgame/libgdx,bgroenks96/libgdx,saltares/libgdx,MadcowD/libgdx,nudelchef/libgdx,saltares/libgdx,nave966/libgdx,copystudy/libgdx,andyvand/libgdx,Thotep/libgdx,NathanSweet/libgdx,MovingBlocks/libgdx,srwonka/libGdx,czyzby/libgdx,GreenLightning/libgdx,toa5/libgdx,Badazdz/libgdx,toa5/libgdx,petugez/libgdx,kotcrab/libgdx,jasonwee/libgdx,TheAks999/libgdx,djom20/libgdx,MovingBlocks/libgdx,youprofit/libgdx,revo09/libgdx,ThiagoGarciaAlves/libgdx,toa5/libgdx,xoppa/libgdx,KrisLee/libgdx,ttencate/libgdx,del-sol/libgdx,lordjone/libgdx,alex-dorokhov/libgdx,zommuter/libgdx,alex-dorokhov/libgdx,josephknight/libgdx,js78/libgdx,jsjolund/libgdx,czyzby/libgdx,FyiurAmron/libgdx,nrallakis/libgdx,del-sol/libgdx,Xhanim/libgdx,gf11speed/libgdx,PedroRomanoBarbosa/libgdx,luischavez/libgdx,kotcrab/libgdx,MadcowD/libgdx,jsjolund/libgdx,MetSystem/libgdx,ya7lelkom/libgdx,bgroenks96/libgdx,MetSystem/libgdx,js78/libgdx,GreenLightning/libgdx,SidneyXu/libgdx,yangweigbh/libgdx,Senth/libgdx,jberberick/libgdx,samskivert/libgdx,BlueRiverInteractive/libgdx,tommycli/libgdx,ThiagoGarciaAlves/libgdx,JFixby/libgdx,ztv/libgdx,EsikAntony/libgdx,stickyd/libgdx,FredGithub/libgdx,cypherdare/libgdx,designcrumble/libgdx,srwonka/libGdx,titovmaxim/libgdx,Badazdz/libgdx,fiesensee/libgdx,jsjolund/libgdx,JDReutt/libgdx,Wisienkas/libgdx,kzganesan/libgdx,djom20/libgdx,designcrumble/libgdx,petugez/libgdx,copystudy/libgdx,del-sol/libgdx,srwonka/libGdx,flaiker/libgdx,zommuter/libgdx,Gliby/libgdx,samskivert/libgdx,xpenatan/libgdx-LWJGL3,alireza-hosseini/libgdx,josephknight/libgdx,collinsmith/libgdx,ricardorigodon/libgdx,gdos/libgdx,ttencate/libgdx,jberberick/libgdx,hyvas/libgdx,nudelchef/libgdx,zhimaijoy/libgdx,stickyd/libgdx,JFixby/libgdx,katiepino/libgdx,sarkanyi/libgdx,czyzby/libgdx,basherone/libgdxcn,ricardorigodon/libgdx,sinistersnare/libgdx,ryoenji/libgdx,flaiker/libgdx,Senth/libgdx,luischavez/libgdx,309746069/libgdx,GreenLightning/libgdx,saltares/libgdx,designcrumble/libgdx,saltares/libgdx,xpenatan/libgdx-LWJGL3,basherone/libgdxcn,junkdog/libgdx,yangweigbh/libgdx,jberberick/libgdx,fwolff/libgdx,katiepino/libgdx,petugez/libgdx,MathieuDuponchelle/gdx,katiepino/libgdx,collinsmith/libgdx,Gliby/libgdx,jasonwee/libgdx,curtiszimmerman/libgdx,del-sol/libgdx,titovmaxim/libgdx,nrallakis/libgdx,zommuter/libgdx,titovmaxim/libgdx,bladecoder/libgdx,firefly2442/libgdx,bsmr-java/libgdx,copystudy/libgdx,Wisienkas/libgdx,anserran/libgdx,PedroRomanoBarbosa/libgdx,js78/libgdx,bladecoder/libgdx,thepullman/libgdx,MikkelTAndersen/libgdx,gdos/libgdx,cypherdare/libgdx,ninoalma/libgdx,libgdx/libgdx,MikkelTAndersen/libgdx,UnluckyNinja/libgdx,309746069/libgdx,antag99/libgdx,tommyettinger/libgdx,Wisienkas/libgdx,UnluckyNinja/libgdx,EsikAntony/libgdx,nudelchef/libgdx,Thotep/libgdx,junkdog/libgdx,SidneyXu/libgdx,sarkanyi/libgdx,UnluckyNinja/libgdx,haedri/libgdx-1,nudelchef/libgdx,xoppa/libgdx,shiweihappy/libgdx,sarkanyi/libgdx,EsikAntony/libgdx,tommycli/libgdx,xranby/libgdx,revo09/libgdx