public static BookCopy getBookCopy(int bookCopyId){
		
		try {
			   if(conn == null || conn.isClosed()){
			    conn = DatabaseConnection.getConnection();
			   }
			  } catch (SQLException e1) {
			   // TODO Auto-generated catch block
			   e1.printStackTrace();
			  }
		
		try {
			Statement stmnt = conn.createStatement();
			String sql = "SELECT * FROM BookCopies b, Books s WHERE b.bookid = s.bookid AND id = " + bookCopyId;
			ResultSet res = stmnt.executeQuery(sql);

			while(res.next()) {
				bookCopy = new BookCopy(null, sql, sql, sql, sql, sql, sql, bookCopyId, bookCopyId, bookCopyId, null);
			}

		}
		catch(SQLException e) {
			System.out.println("PROBLEM");
			e.printStackTrace();
			return bookCopy;

		}
		
		return bookCopy;
		
	}