Fix folder testing for JFolder::copy

We have to throw the error if the folder does not exist (and we do not ask to force the operation).
The previous code test the existence of the folder, not the inverse.