It is not clear what you are apologising for having done. Do you mean that you have an interview with a company and have in error re-applied for the job?
Please accept my apologies for having applied twice for the same position. This was an oversight. I will be attending the interview on [date].
Student or Learner