NAnt SDK Documentation - v0.92 |

# CopyTask.FileOperation.SourceIsIdenticalToTarget Method

Checks to see whether or not the full path of SourceInfo is identical to the full path of TargetInfo.

[Visual Basic]
Public Function SourceIsIdenticalToTarget() As Boolean
[C#]
public bool SourceIsIdenticalToTarget();

#### Return Value

`true` if both paths are identical; otherwise `false`.

#### Remarks

The difference between this method and SourceEqualsTarget is that the casing of the path is never ignored regardless of operating system.

#### See Also

CopyTask.FileOperation Class | NAnt.Core.Tasks Namespace