Without knowing what TargetDir is, we can't be sure - but assuming that ProjectDir is identical for both commands I'd assume TargetDir contains spaces - if so then it needs to be enclosed in double quotes.
To be on the safe side, I'd use them on both paths:
copy "$(ProjectDir)Images\Brand\ER\line2.ico" "$(TargetDir)"