Replaced dos copy with Ruby fileutils