This change calculates the exact files and directories needed between stages used in the COPY command. Instead of saving the entire stage as a tarball, we now save only the necessary files.