public static MediaCopy getMediaCopyByMediaCopyID(int copyID){
		MediaCopy mc = null;
		
		try {
			   if(conn == null || conn.isClosed()){
			    conn = DatabaseConnection.getConnection();
			   }
			  } catch (SQLException e1) {
			   // TODO Auto-generated catch block
			   e1.printStackTrace();
			  }
		
		try {
			
			PreparedStatement stmnt = conn.prepareStatement("SELECT * FROM MediaCopies mc, Media m WHERE mc.media_id = m.media_id AND mc.copy_id = ?");
			stmnt.setInt(1, copyID);
			ResultSet res = stmnt.executeQuery();
			if(res.next())
			{
			mc = new MediaCopy(StringDateSwitcher.toDateYear(res.getString("year")), res.getString("place_of_publication"),
					res.getString("title"), res.getString("genre"), res.getInt("media_id"), 
					res.getString("creator"), res.getString("producer"),
					res.getString("type"), res.getInt("copy_id"), res.getBoolean("lendable"));
			}
		}
		catch(SQLException e) {
			System.out.println(e);
		}
		
		return mc;
	}