implement COPY <table> TO DIRECTORY