Upgrade solution to VS 2012
Add copying attributes code

This is code from
http://haacked.com/archive/2010/08/04/copying-attributes.aspx
Add fix and tests for array properties