Date.copy

Copies a GDate to a newly-allocated GDate. If the input was invalid (as determined by [glib.date.Date.valid]), the invalid state will be copied as is into the new object.

Returns

a newly-allocated #GDate initialized from date