Use a Copy Files build phase to copy public headers

Copy Headers build phases don't work for static libraries with Archive
builds (according to Apple's documentation). Use a Copy Files phase
instead to copy them to the same place in a way that works for Archive
builds.