public Copy getCopy(int copyId){
		
		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 * Copies where id = " + copyId;
			ResultSet res = stmnt.executeQuery(sql);

			while(res.next()) {
				copy = new Copy(res.getInt("copy_id"), res.getInt("book_id"), res.getInt("edition"), res.getBoolean("lendable"));
			}

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

		}
		
		
		return copy;
		
	}