Oops, I've spotted an error.
To be clear about this, an iPod owner does not have the right to sell or give away the music that he or she has purchased. Apple have a procedure for wiping the content from an iPod before disposing of it.
There is finer detail to this (mainly centering around the original owner not keeping any copy of the music that he or she originally purchased), but the accepted position with digital copies on an iPod or in iTunes is that such copies cannot be sold or given away.
In the end, it is down to you to ensure that you do not infringe Copyright Law. The music industry has been known to go after individuals.