The code works for me.
Type: Posts; User: Norm
The code works for me.
What happens when you execute the code posted in post#1? Does it copy the directory?
To see how to copy the contents of a directory you need to read what I referred to in post#6.
Please explain where your problem is.
Your last statement was: this is perfectly working
Have you solved your problem?
What folder is missing at the end of the copy?
I assume that is from the API doc for the copy() method. Is that right?
The API doc says:
This method (copy) can be used with the walkFileTree method to copy a directory and all entries in the directory,
There is a link there to follow.
Where does the doc say there will be anything in a copied directory?
Are you using the correct method(s) for copying the contents of a directory?
What does the API doc for the copy() method say?