Parse directory using both slashes and backslashes as separators. Do file copying in term of perl statements instead of using cp. Part of PR: 75