Fixed index of entry passed to Target constructor.

Pass in path parameter instead of "COPY" to Target constructor.