Fixed logic error when copying a file to its output folder

Found a logic error here. If the copyToOutputDirectory string was null, the next check would throw an exception since it tries to call Equals() on it.