Useless strcpy.
Also, don't use LoadLibrary(). Use dylib_* wrappers for consistency (see dynamic.h).