cat

cat <<EOF > FILE_NAME
FILE_CONTENTS
...
...
...
EOF

Here EOF word is the delimited to the input stream, it can be any word of choice, but has to be defined immediately after <<