This has been answer previously. See the following URL addresses:
Its a sin to kill a mocking bird because mocking birds don't do anything but make beutiful sounds for us to listen to. I think thats something like what Atticus said in the book.
It's a sin to kill a mockingbird as they are innocent creatures who don't do anything but sing their hearts out and create beautiful noises for others to listen to.