To have 4 copies of the data will require 4 separate storage places (arrays or disk files). If the data is too large to keep in memory, you might need to write it to a file.