Fix copy issue when prefix is only 1 letter

it failed on copying the image since $imagePath and $targetPath would be the same.