input: Write a function to generate an API response based on the provided data. The function should take a dictionary as input and return a dictionary with three keys: "status", "data", and "message". The "status" should be set to 200, the "data" should be a copy of the input dictionary, and the "message" should be set to "Success". If the input dictionary is empty, return a response with status 400 and message "Bad Request".
  assert generate_api_response({"name": "John", "age": 28}) == {"status": 200, "data": {"name": "John", "age": 28}, "message": "Success"}
  assert generate_api_response({}) == {"status": 400, "message": "Bad Request", "data": {}}
output: def generate_api_response(input_dict):
      if not input_dict:
          return {"status": 400, "message": "Bad Request", "data": {}}
      return {"status": 200, "data": input_dict.copy(), "message": "Success"}