add copy_stdio in blp