safety check for Process: calling copyDir()