If you are providing the source code, there isn't much that can be done to stop somebody copying it. Even if you sent it to them as a screen shot, they could merely retype it.
The best thing you can do is give them a small excerpt of your code, that doesn't do much by itself, but demonstrates the quality of your coding ability.