Instead of copying member by member, copy the entire struct contents.
It works as before, but doesn't depend on the member names.
This fixes compiling gnome-calendar with libical 3.0.0, since the
struct icaltimetype had one of the members removed (is_utc).
https://bugzilla.gnome.org/show_bug.cgi?id=790072