What you can try to use a while loop to read each line into an array
#!/bin/sh
cmd=$(curl -s https://jsonplaceholder.typicode.com/todos)
echo "$cmd" > Data.json
jq -r '.[] | .title' Data.json > title.txt
myArray=()
# Read each line
while IFS= read -r line; do
myArray+=("$line")
done < title.txt
for (( i = 0 ; i < 20 ; i++ )); do
echo "Array[$i]=\"${myArray[$i]}\""
done