Fix binary copy bug.