I\'m trying to use an array to store a list of file names using the find command.
find
For some reason the array fails to work in the bash used by the school
find . -name '*.txt' | while IFS= read -r FILE; do echo "Copying $FILE.." cp "$FILE" /destination done