`COPY` is used for bulk importing/exporting data (from/to a file or STDIN/STDOUT). It’s fast because it’s optimized for bulk operations and avoids per-row overhead that you often get with many individual INSERTs.
COPY users(email, created_at)
FROM STDIN WITH (FORMAT csv, HEADER true);