EC parameters not copied correctly

As reported in Github, the memcpy was not valid.

	pkcs15-pubkey.c-20131106-09007
Merge pull request #196 from dengert/master

EC parameters not copied correctly