Added support for the copy command for both file and directory nodes on Windows systems