Function-like definition of BA_REALLOC, bugfix in BAC_COPY