Fixed replaced bcpy wtih mcpy