Removed custom strdup function now bcopy is fixed