If you are doing this on a home computer, there's probably not much you can do to prevent people from copying the CD/DVD. Some games and commercial software use methods in creating the disc that use things like bad spots on the CD to trick burning software into making a bad copy. These methods usually are done on the commercial level in the mass production of a copy and not available to the home consumer. Even if you are producing them commercially most of the copy protection methods need to be licensed and paid for. I have no idea what the terms and pricing on such methods are.
The problem is pretty much that the standard for creating CD/DVDs (with the exception of video DVDs, but the encryption has been already cracked on that) there really isn't any copy protection built in. It has mostly been tacked on and when that happens there are usually loop holes to break the protection.
In some cases people usually work from the angle of not preventing copying, but tracking it. So they embed a unique serial number into the media/files/pictures. The CD sold is then licensed and the unique serial number associated with a customer. So if there are pirated CDs around, you can take one of them check the serial number and see what customer's CD was copied and take action from there.