Added the 'copyFolder' method