Del. Code. Ann. 805 http://delcode.delaware.gov/title19/c008/index.shtml
765 Ill. Code 1060 http://law.justia.com/illinois/codes/2005/chapter62/2238.htm...
Minn. Stat. 181.78 https://www.revisor.mn.gov/statutes/?id=181.78
N.C. Gen. Stat. 66-57.1 http://law.onecle.com/north-carolina/66-commerce-and-busines...
Wash. Rev. Code 49.44.140 http://apps.leg.wa.gov/rcw/default.aspx?cite=49.44.140
(This list is taken from a treatise on software law I published a number of years back; more states may have enacted similar laws since then.)
-------------
2. For copyright ownership, in the U.S., and I think in quite a few other countries, a company's ownership of an employee's "work of authorship" would depend on whether the work was either:
(i) a work made for hire, usually meaning created "within the scope of employment" - http://en.wikipedia.org/wiki/Work_for_hire ; or
(ii) assigned to the employer - which an employment contract might require the employee to do.