'create a temporary copy of a file'

@staticmethod
def create_tmpfile_copy(inc_file):

    tmpfile = Utils.create_tmpfile('lib_openshift-')
    Utils._write(tmpfile, open(inc_file).read())
    atexit.register(Utils.cleanup, [tmpfile])
    return tmpfile
