By talking to a qualified attorney who specializes in this area. AFAIK, no one here is an attorney.Good advice. I'd press for a "free" introductory appointment as well, because if I remember correctly, you can't copyright something you haven't produced yet. Nor can you patent an idea, it has to actually exist in a form that a competent practitioner can reproduce by following your patent.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1