import fileinput


def copy_file(input):
    """
    Purpose: Copies input file to a list of lines for reusability.
    Example: "sample_input.txt" gets stored line-by-line in a list
    """
    lines = []
    for this_line in fileinput.input():
        lines.append(this_line)
    return lines